﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="banco_listar.aspx.cs" Inherits="softsales.pagina.banco.banco_listar" %>
<%@ MasterType VirtualPath="~/Site.Master" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Cabecalho" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ConteudoPrincipal" runat="server">


		<div class="inner-page-title">        
          <h2>
              <asp:Label ID="LBL_TITULO_PAGINA" runat="server" Text="Lista de Bancos"></asp:Label></h2> 
                 <div class="clear"></div>             
           </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    


   <div class="content-box">
       


<div class="softsales-form-linha">
<div class="float-left">
    <asp:Button ID="BTN_INCLUIR" 
        CssClass="botao-incluir" 
        runat="server" Text="Incluir" />
    </div>
<div class="float-right">



<div class="filtro">
<span>
<asp:ImageButton ID="IMG_BTN_IMPRIMIR" runat="server" 
        ImageUrl="~/images/icons/printer.gif" onclick="IMG_BTN_IMPRIMIR_Click" 
/>  
    <asp:DropDownList ID="DDL_FILTRO" CssClass="campo-select" runat="server">
    </asp:DropDownList>
</span>
    <span>
    <asp:TextBox ID="TXT_PESQUISAR" CssClass="campo-text"  runat="server"></asp:TextBox>
    </span>
    
      <span>  <asp:ImageButton ID="IMG_BTN_PESQUISAR" runat="server" 
        ImageUrl="~/images/icons/search.gif" onclick="IMG_BTN_PESQUISAR_Click" 
/>
</span>
</div>

</div>
<div class="clear"></div>
</div>

</div>

<div class="content-box">
<div class="softsales-tabela">
 <asp:GridView ID="GRV_TB_BANCO" runat="server" onsorting="GRV_TB_BANCO_Sorting" AllowSorting="True" 
        onpageindexchanging="GRV_TB_BANCO_PageIndexChanging" 
        AutoGenerateColumns="False" DataKeyNames="id" EnableModelValidation="True">	  
	<HeaderStyle CssClass="headerGridView" />
	<RowStyle CssClass="itemGridView" />
   	<PagerStyle CssClass="pagerGridView"  />
	<FooterStyle CssClass="footerGridView" />
        <Columns>          
			
				<asp:BoundField DataField="id" HeaderText="ID" 
                SortExpression="id"  >											
				<ItemStyle Width="1%" />
                </asp:BoundField>
				<asp:BoundField DataField="codigo" HeaderText="CODIGO" 
                SortExpression="codigo"  />											
				<asp:BoundField DataField="nome" HeaderText="NOME" 
                SortExpression="nome"  />											
				<asp:BoundField DataField="site" HeaderText="SITE" 
                SortExpression="site"  />											
            
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:ImageButton ID="IMG_BTN_EDITAR" runat="server" 
                        ImageUrl="~/images/icons/action_edit.gif"  onclick="IMG_BTN_EDITAR_Click" 
                        CommandArgument='<%# Eval("id") %>'  />
                    &nbsp;<asp:ImageButton ID="IMG_BTN_EXCLUIR" CssClass="botao-excluir" runat="server" ImageUrl="~/images/icons/action_delete.gif"  CommandArgument='<%# Eval("id") %>'    />
                    <asp:ConfirmButtonExtender ID="IMG_BTN_EXCLUIR_ConfirmButtonExtender" 
                        runat="server" ConfirmOnFormSubmit="True" 
                        ConfirmText="Deseja realmente excluir?" Enabled="True" 
                        TargetControlID="IMG_BTN_EXCLUIR">
                    </asp:ConfirmButtonExtender>
                </ItemTemplate>
                <ItemStyle Width="50px" />
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
	
	    </div>
</div>
     <div id="navegacao" runat="server" class="softsales-form-navegacao">
    <div class="float-left">
        <asp:Label ID="Label3" runat="server" Text="P?gina: "></asp:Label>
        <asp:Label ID="LBL_PAGINA_ATUAL" runat="server" Text=""></asp:Label>
        <asp:Label ID="Label4" runat="server" Text=" de  "></asp:Label>
        <asp:Label ID="LBL_PAGINA_TOTAL" runat="server" Text="LBL_PAGINA_TOTAL"></asp:Label>
    </div>
    <div class="float-right">
        <table>
        <tr>
        <td>
        <asp:ImageButton ID="IMG_BTN_PRIMEIRO" runat="server" 
            ImageUrl="~/images/icons/first.gif" onclick="IMG_BTN_PRIMEIRO_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_ANTERIOR" runat="server" 
            ImageUrl="~/images/icons/previous.gif" onclick="IMG_BTN_ANTERIOR_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_PROXIMO" runat="server" 
            ImageUrl="~/images/icons/forward.gif" onclick="IMG_BTN_PROXIMO_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_ULTIMO" runat="server" 
            ImageUrl="~/images/icons/last.gif" onclick="IMG_BTN_ULTIMO_Click" />
            </td>
            </tr>
            </table>
    </div>
    <div class="clear"></div>

    </div>

        </ContentTemplate>
      <Triggers>
            <asp:PostBackTrigger ControlID="IMG_BTN_IMPRIMIR" />
        </Triggers>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ConteudoEsquerda" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ConteudoDireita" runat="server">
</asp:Content>
